import { createRoot } from 'react-dom/client'
import { RouterProvider } from 'react-router-dom'
import { Toaster } from '@/components/ui/sonner'
import router from '@/router'
import 'tailwindcss/tailwind.css'
import '@/styles/index.css'
// import './index.css'

const container = document.getElementById('root') as HTMLDivElement
const root = createRoot(container)

root.render(
  <>
    <Toaster />
    <RouterProvider router={router}></RouterProvider>
  </>
)
